In this tutorial we look at how sound is added and manipulated in VRML and in CP. Creative use of sound can greatly enhance environments, and the VRML spec allows a lot of interesting effects to be achieved.
Our example world is a simple world with a sphere in it. When the user clicks on the sphere the soundtrack is toggled on or off. When the music is on,it plays in a loop. It is heard at its maximum intensity within a certain distance of the sphere, then falls off and finally dies off as the user moves away from the sphere.
For a detailed description of the Sound and AudioClip nodes please refer to the VRML 2 spec. We only cover some of the key features in this tutorial, including some of the issues regarding supported formats.
This tutorial consists of: